]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Fix display keyboard layout crash with some input methods
authorPeng Wu <pwu@redhat.com>
Mon, 15 Mar 2021 06:50:31 +0000 (14:50 +0800)
committerMarge Bot <marge-bot@gnome.org>
Mon, 29 Mar 2021 09:33:45 +0000 (09:33 +0000)
commitf563424417c2c77c8483efb795da48b43ab30abb
treeb9c9fa61e4159231373a84f61767bf464b19f181
parent51a7c9a8b8a79ac28399a8786d4a956585bcead3
keyboard: Fix display keyboard layout crash with some input methods

Some ibus input method will use the current keyboard layout,
and return "default" as the keyboard layout.
When this happens, display the current keyboard layout instead.

Fixes #3863.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1756>
js/misc/keyboardManager.js
js/ui/status/keyboard.js